package com.socket.batch.transmit;

import com.socket.entity.GpsRecord;
import com.socket.service.GpsRecordService;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * Created by kaddddd on 2017/7/6 0006.
 */
public class DefaultTransmitter extends AbstractTransmitter{
    @Autowired
    private GpsRecordService gpsDataService;

    public void transition(GpsRecord gpsRecord){
        gpsDataService.insertGpsRecord(gpsRecord);
    }
}
